//
//  NSDictionary+SY.m
//  SanYiTeaching
//
//  Created by 郑浩然 on 2019/5/23.
//  Copyright © 2019年 SanYi. All rights reserved.
//

#import "NSDictionary+SY.h"

@implementation NSDictionary (SY)

- (id)nilObjectForKey:(NSString *)key
{
    id obj = [self objectForKey:key];
    
    if([obj isEqual:[NSNull null]])
    {
        return @"";
    }
    else
    {
        return obj;
    }
}

@end
